package shun.demo.remote.display.model;

import java.io.Serializable;
import java.net.Socket;

/**
 * Created by chen on 14-5-17.
 */
public class TimeSync implements Serializable {
    private static final long serialVersionUID = 3L;

    private long mT0;
    private long mT1;
    private long mT2;

    public long getT0() {
        return mT0;
    }

    public void setT0(long t0) {
        this.mT0 = t0;
    }

    public long getT1() {
        return mT1;
    }

    public void setT1(long t1) {
        this.mT1 = t1;
    }

    public long getT2() {
        return mT2;
    }

    public void setT2(long t2) {
        this.mT2 = t2;
    }

    private transient Socket mFrom;

    @Override
    public String toString() {
        return "TimeSync{" +
                "mT0=" + mT0 +
                ", mT1=" + mT1 +
                ", mT2=" + mT2 +
                ", mFrom=" + mFrom +
                '}';
    }

    public void setFrom(Socket socket) {
        mFrom = socket;
    }

    public Socket getFrom() {
        return mFrom;
    }
}
